package com.demo.mappers;
import org.apache.ibatis.annotations.Param;


/**
 * @Description:web轮播:mapper
 * @Date:2025-03-04
 * @author：author
*/
public interface WebCarouselMapper<T,P> extends BaseMapper {


	/**
	 * 根据CarouselId查询
	 */
	 T selectByCarouselId(@Param("carouselId") Integer carouselId);

	/**
	 * 根据CarouselId更新
	 */
	 Integer updateByCarouselId(@Param("bean")T t, @Param("carouselId") Integer carouselId);

	/**
	 * 根据CarouselId删除
	 */
	 Integer deleteByCarouselId(@Param("carouselId") Integer carouselId);

}